<%@page import="weaver.conn.RecordSet"%>
<%@page import="weaver.general.Util"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ include file="/mobile/plugin/westvalley/common/jsp/scriptEncoderCommon.jsp" %>
<%
String workflowId = Util.null2String(request.getParameter("workFlowId"));
String nodeId = Util.null2String(request.getParameter("nodeId"));
String scripts = "";

RecordSet rs = new RecordSet();
String sql = "select scripts from workflow_nodehtmllayout where workflowid = '"+workflowId+"' and nodeid = '"+nodeId+"'";
rs.executeSql(sql);
if(rs.next()){
	scripts = scriptDecode(Util.null2String(rs.getString("scripts")));
	scripts = scripts.replaceAll("<!--endScript-->","\n<!--endScript-->");
}
out.print(scripts);
%>
